package com.ysy.tz.mfg.dao;

import com.ysy.tz.core.engine.DefaultKeyValuePair;
import com.ysy.tz.mfg.dto.InspectionWeightDto;
import com.ysy.tz.mfg.entity.InspectionWeightEntity;
import java.util.ArrayList;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface InspectionWeightDao {
    ArrayList<InspectionWeightEntity> listForPage(InspectionWeightDto var1) throws Exception;

    ArrayList<InspectionWeightEntity> searchNoWeightPigs(@Param("machineCode") String var1, @Param("serverDay") String var2, @Param("enterpriseId") Integer var3) throws Exception;

    boolean hasWeight(@Param("pigshipNo") String var1, @Param("serverDay") String var2, @Param("seqno") String var3, @Param("enterpriseId") Integer var4) throws Exception;

    ArrayList<DefaultKeyValuePair> searchPigTypeWithShipNo(@Param("pigshipNo") String var1, @Param("enterpriseId") Integer var2);

    ArrayList<InspectionWeightEntity> sumForPage(InspectionWeightDto var1) throws Exception;

    int changePigType(InspectionWeightEntity var1) throws Exception;

    int takeToExperiment(InspectionWeightEntity var1) throws Exception;
}
